package cn.sunlight.city.mapper;

import cn.sunlight.city.pojo.City;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: CityDao
 * @Description: 城市数据访问层
 * @Author: sunlight
 * @Date: 10:55 - 2022/2/10
 * @Version: 1.0
 **/
public interface CityMapper extends BaseMapper<City> {

    /**
     * 根据省份编号查询城市信息
     * @param provinceCode
     * @return
     */
    List<City> findCitiesByProvinceCode(@Param("provinceCode") String provinceCode);

}
